package com.loan.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.loan.common.core.domain.PageQuery;
import com.loan.system.domain.ApplyEntity;
import com.loan.system.domain.RepaymentLogEntity;
import com.loan.system.domain.UserVaEntity;

import java.util.List;

/**
 * @author shiguang on 2022/9/7 15:57
 */
public interface RepaymentLogService {

    void savePaymentLog(ApplyEntity applyEntity, String type, Integer paymentMoney, String companyType, String remark);

    Page<RepaymentLogEntity> selectRepaymentLogList(RepaymentLogEntity entity, PageQuery pageQuery);

    int revokeRepaymentLogById(String id);

    void savePaymentLogFail(ApplyEntity applyEntity, String s, Integer amount, String companyType, String remark);

    List<RepaymentLogEntity> selectListByApplyIdAndDate(Long applyId, String date, String type);

    RepaymentLogEntity selectByTransRef(String transRef);

    void insert(RepaymentLogEntity repaymentLogEntity);
}
